package com.xiantm.study.thread.workthread.priactice.p2;

public class Main {
    public static void main(String[] args) {
        Channel channel = new Channel();
        new ClientThread("Alice", channel).start();
        new ClientThread("Bobby", channel).start();
        new ClientThread("Chris", channel).start();
        try {
            Thread.sleep(1000);
            System.exit(0);
        } catch (InterruptedException e) {
            e.printStackTrace();

        }
    }
}
